from flask import session

from flask_script import Manager
from info import create_app

app = create_app('production')

manage = Manager(app)


@app.route('/')
def index():
    session['itcast'] = '2018'
    return 'hello word'


if __name__ == '__main__':
    # app.run(debug=True)
    manage.run()
